//app.js
App({
  imgUrl: 'http://img.xue110.top/taoxuequ',
  httpUrl: 'https://txq.taoxuequ.vip',
  onLaunch: function () {
    var logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)
  },
  isLogin: function() {
    if (!this.globalData.openid) {
      return false;
    }
    return true;
  },
  globalData: {
    appUser: null,
    openid: null
  }
})